package ca.concordia.soen6461.wichf.entity;

import java.util.Date;

public class ScheduledEvent {
	
	public static enum Type {
		
		PatientVisit("Visit", 50), 
		PatientCheckup("Annual Checkup", 100), 
		DoctorAvailability("Available Doctor", 0);
		
		private String description = null;
		private int price = 0;
		
		Type(String description, int price) {
			this.description = description;
			this.price = price;
		}

		public String getDescription() {
			return description;
		}

		public int getPrice() {
			return price;
		}
		
	}

	private User user;
	private Date from;
	private Date to;
	private Type type;
	private boolean confirmed;
	
	public ScheduledEvent() {
	}

	public User getUser() {
		return user;
	}

	public Date getFrom() {
		return from;
	}

	public Date getTo() {
		return to;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public void setFrom(Date from) {
		this.from = from;
	}

	public void setTo(Date to) {
		this.to = to;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

	public boolean isConfirmed() {
		return confirmed;
	}

	public void setConfirmed(boolean confirmed) {
		this.confirmed = confirmed;
	}

}
